import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx'
const {resolve} = require('path')
// https://vitejs.dev/config/
export default defineConfig({
  base: './',
  publicDir:'/static',
  build: {
    assetsDir: 'static'
  },
  resolve: {
    alias: {
      "@": resolve(__dirname, "src"),
    },
  },
  server: {
    port: 3000,
    open: true
  },
  plugins: [vue(),vueJsx()]
})
